@import "common";

//@import 导入的意思 可以把一个样式文件导入到另外一个样式文件里面
//link 是把一个 样式文件引入的 html页面里面
body {
    min-width: 320px;
    max-width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    color: #333333;
    font-family: Arial, Helvetica, STHeiTi, sans-serif;
    background: #f2f2f2;
}

* {
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #333333;
}

div {
    box-sizing: border-box;
}

@baseFont: 50px;

.header {
    height: (180rem / @baseFont);
    width: 15rem;
    background: #007aff;
}

.headDom {
    display: flex;
    align-items: center;
    margin: 0 (32rem / @baseFont);

    height: (88rem / @baseFont);

    text-align: center;

    .headDomBg {
        display: flex;
        align-items: center;
        width: (570rem / @baseFont);
        height: (88rem / @baseFont);


        a {
            width: (390rem / @baseFont);
            height: (76rem / @baseFont);


            img {
                width: (657rem / 2 / @baseFont);
                height: (128rem / 2 / @baseFont);
            }
        }

    }

    .headDom-classify {
        width: (36rem / @baseFont);
        height: (60rem / @baseFont);

        margin: 0 0 0 (34rem / @baseFont);

        img {
            width: (36rem / @baseFont);
            height: (60rem / @baseFont);
        }


    }

    .headDom-login {
        width: (36rem / @baseFont);
        height: (60rem / @baseFont);

        margin: 0 0 0 (34rem / @baseFont);

        img {
            width: (36rem / @baseFont);
            height: (60rem / @baseFont);
        }
    }
}

.search {
    display: flex;
    align-items: center;
    height: (92rem / @baseFont);
    margin: 0 (24rem / @baseFont);

    .search-bd {
        display: flex;
        align-items: center;
        width: 100%;
        height: (76rem / @baseFont);
        border-radius: (76rem / @baseFont / 2);
        background-color: #fff;
        overflow: hidden;

        .search-icon {
            margin-left: (76rem / @baseFont / 2);
            width: (36rem / @baseFont);
            height: (36rem / @baseFont);
            background: url(../images/search-icon.png) no-repeat;
            background-size: (36rem / @baseFont);
        }

        .searchInput {
            flex: 1;
            outline: none;
            border: 0;
        }

    }

}

.index-wrap {
    width: 100%;

    .hor-view {
        display: flex;
        width: 100%;
        height: (186.95rem / @baseFont);
        background-color: pink;

        a:nth-child(n) {
            flex: 1;

            img {
                width: (250rem / @baseFont);
                height: (186.95rem / @baseFont);
            }
        }
    }

    .enter-list {
        display: flex;
        align-items: center;
        width: 100%;
        height: (320rem / @baseFont);
        background: url(../images/enterBg.png) no-repeat;
        background-size: (750rem / @baseFont) (320rem / @baseFont);

        .entter-wrapper {
            width: 100%;
            height: (308rem / @baseFont);

            ul {
                display: flex;
                flex-direction: column;
                width: 100%;
                height: (308rem / @baseFont);

                li {
                    display: flex;
                    flex: 1;
                    list-style: none;
                }

                a {
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .enter-img {
                        width: (84rem / @baseFont);
                        height: (84rem / @baseFont);

                        img {
                            width: (84rem / @baseFont);
                            height: (84rem / @baseFont);
                        }
                    }

                    span {
                        margin-top: (5rem / @baseFont);
                        font-size: (22rem / @baseFont);
                        color: #666666;
                    }
                }
            }
        }

    }
}


.v7-zdy {
    display: flex;
    height: (192rem / @baseFont);
    width: 15rem;

    a {
        flex: 1;

        .opa1 {
            width: 15rem;
            height: (192rem / @baseFont);

        }
    }
}

.big-blank {
    height: (24rem / @baseFont);
    width: 15rem;
}

.two-wrap {
    display: flex;
    justify-content: space-between;
    width: (702rem / @baseFont);
    height: (684rem / @baseFont);
    margin-left: (24rem / @baseFont);


    .left-wrap {
        width: (342rem / @baseFont);
        height: (684rem / @baseFont);

        .cardchannel {
            display: flex;
            width: 100%;
            height: (210rem / @baseFont);
            margin-bottom: (18rem / @baseFont);

            .pro {
                flex: 1;
                display: flex;

                a {
                    position: relative;
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-top: (50rem / @baseFont);

                    .cardchannel-img {
                        width: (136rem / @baseFont);
                        height: (136rem / @baseFont);
                    }

                    .maidian {
                        display: block;
                        position: absolute;
                        bottom: (10rem / @baseFont);
                        left: 50%;
                        transform: translate(-50%, 0);
                        height: (28rem / @baseFont);
                        line-height: (28rem / @baseFont);
                        border-radius: (14rem / @baseFont);
                        background: #FFF6ED;
                        color: #B95A17;
                        padding: 0 (14rem / @baseFont);
                        white-space: nowrap;

                        font-size: (22rem / @baseFont);
                        z-index: 3;


                    }

                }

            }

            .pro:nth-child(1) {
                background: url(../upload/pro-bg1.png);
                background-size: 100%;
            }

            .pro:nth-child(2) {
                background: url(../upload/pro-bg2.png);
                background-size: 100%;
            }

        }

        .cardbanner {
            width: 100%;
            height: (438rem / @baseFont);
            background-color: blue;
            margin-bottom: (18rem / @baseFont);

            .b-image {
                width: (342rem / @baseFont);
                height: (438rem / @baseFont);
            }



        }

    }

    .right-wrap {
        width: (342rem / @baseFont);
        height: (684rem / @baseFont);

        .cardchannel {
            display: flex;
            width: 100%;
            height: (210rem / @baseFont);
            margin-bottom: (18rem / @baseFont);

            .pro {
                flex: 1;
                display: flex;

                a {
                    position: relative;
                    flex: 1;
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    margin-top: (50rem / @baseFont);

                    .cardchannel-img {
                        width: (136rem / @baseFont);
                        height: (136rem / @baseFont);
                        background-color: pink;
                    }

                    .maidian {
                        display: block;
                        position: absolute;
                        bottom: (10rem / @baseFont);
                        left: 50%;
                        transform: translate(-50%, 0);
                        height: (28rem / @baseFont);
                        line-height: (28rem / @baseFont);
                        border-radius: (14rem / @baseFont);
                        background: #FFF6ED;
                        color: #B95A17;
                        padding: 0 (14rem / @baseFont);
                        white-space: nowrap;

                        font-size: (22rem / @baseFont);
                        z-index: 3;


                    }

                }

            }

            .pro:nth-child(1) {
                background: url(../upload/pro-bg3.png);
                background-size: 100%;
            }

            .pro:nth-child(2) {
                background: url(../upload/pro-bg4.png);
                background-size: 100%;
            }

        }

        .cardlablename {
            width: 100%;
            height: (210rem / @baseFont);
            background-color: blue;
            margin-bottom: (18rem / @baseFont);
        }

    }

}